home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk45
/
ruler3
/
ruler3.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
2KB
|
58 lines
RULER
Opens a borderless WorkBench window in which is contained a ruler
for the purpose of aligning or constraining text; the default ruler
is 30 characters intended to help prevent entering too-long filenames.
The program will automatically adjust itself to fit your personal
screen configuration (ie. MoreRows, etc.)
Usage:
CLI> RUN RULER [ size ] [ scale ]
where `size' must be between 12 and your maximum screen columns
inclusive and defaults to 30, and `scale' is the size of the font to
enter, and is limited depending on the size of your screen.
The window, of course, can be moved to any convenient location on the
screen, and resized with an invisible resizing gadget found in the
lower right corner.
Version 3.0 06-Dec-1988 (c)1988 Chad Netzer and Thad Floryan
Based upon code, idea, and logic from:
Version 1.0 7-Nov-1988 (c)1988 Thad Floryan
Revision history:
24-Nov-1988 - (Ver. 3.0) - Added support for measuring fonts of
varying widths (selectable scale).
22-Nov-1988 - (Ver. 2.2) - More adjustments to code, No major
changes. Program size is slightly smaller. (CFN)
14-Nov-1988 - (Ver. 2.1) - Fixed a few minor (harmless) bugs. The
right edge of the ruler is now always redrawn after resizing.
I got rid of that GOTO statement (which in 'C', is considered a
bug. :-) Version 2.1 now lets you open a ruler to be as low as
12 characters wide, which 2.0 only advertised. (CFN)
13-Nov-1988 - (Ver. 2.0) - I added minor enhancements, most
noteably, the ability to resize the window, and support for
overscanned screens. (CFN)
Feel welcome to use this program for any non-commercial purposes
or for your personal learning. Commercial users are requested
to contact Thad at either:
UUCP: thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad
BBS: BBS-JC, 415/961-7250 (300/1200/2400), "Thad Floryan" | "SYSOP"
Building instructions (Manx Aztec C):
cc ruler
ln ruler -lc